package com.owc.domain.vo.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/3/2 10:57
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("代理下单入参")
public class ProxyBuyVo implements Serializable {

    @ApiModelProperty("下单手机号码")
    @NotNull(message = "手机号码不能为空")
    private String phone;

    @ApiModelProperty("下单的产品ID")
    @NotNull(message = "请选择产品类型")
    private Long productId;

    @ApiModelProperty("购买金额")
    @NotNull(message = "请输入购买金额")
    private BigDecimal buyAmount;

}
